package alipushclient

type Message struct {
	Android *AndroidMessage
	IOS     *IOSMessage
}

type AndroidMessage struct {
	Action      string
	AppKey      string
	Target      string
	TargetValue string
	Message     string
}

type IOSMessage struct {
	Action      string
	AppKey      string
	Target      string
	TargetValue string
	Message     string
	Summary     string
}

func (this *Message) SetAndroidMessage(n *AndroidMessage) {
	this.Android = n
}

func (this *Message) SetIOSMessage(n *IOSMessage) {
	this.IOS = n
}
